﻿<%@ Control language="C#" Inherits="Authentication.Registration.ViewRegistration" CodeFile="ViewRegistration.ascx.cs" AutoEventWireup="true"%>
<%@ Register Src="../../controls/tm_TreeViewAdv.ascx" TagName="tm_Treeview" TagPrefix="uc2" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>
<%@ Register TagPrefix="dnn" Assembly="DotNetNuke" Namespace="DotNetNuke.UI.WebControls"%>
<%@ Register Src="../../controls/tm_uploadFile.ascx" TagName="UploadFile" TagPrefix="uc1" %>


<center>
<asp:Panel ID="pnlUser" runat="server" >
<table border="0" cellpadding="0" cellspacing="0" width="600">
    <tr>
        <td style="width: 600px">
        <table border="0" class="table" width="600">
    <tr>
        <th align="center" colspan="2" >THÔNG TIN TÀI KHOẢN
           <%-- <asp:Label ID="lblAccount" runat="server" Font-Bold="False"
                Text="THÔNG TIN TÀI KHOẢN"></asp:Label>--%></th>
    </tr>
    <tr>
        <td style="width: 178px">
            <asp:Label ID="lblAccountName" runat="server" Font-Bold="True" Text="Tên đăng nhập :" CssClass="titletext3"></asp:Label><asp:Label ID="lblStarAccount" runat="server" ForeColor="Red" Text="*" Font-Bold="True"></asp:Label></td>
        <td><asp:TextBox ID="tbxUserName" runat="server" Width="100px" MaxLength="15"></asp:TextBox>
            <asp:Button ID="btnCheckExist" runat="server" OnClick="btnCheckExist_Click" Text="Kiểm tra tồn tại" Width="100px" CssClass="btn" /></td>
    </tr>
    <tr>
        <td style="width: 178px"></td>
        <td><asp:Label ID="lblCheckMessage" runat="server" Text="Ví dụ : thanhloan, hoangtuan" ForeColor="Gray" Font-Bold="True"></asp:Label></td>
    </tr>
    <tr>
        <td style="width: 178px">
            <asp:Label ID="lblPassword" runat="server" Text="Mật khẩu :" Font-Bold="True" CssClass="titletext3"></asp:Label><asp:Label ID="lblStar2" runat="server" Font-Bold="True" Text="*" ForeColor="Red"></asp:Label></td>
        <td>
            <asp:TextBox ID="tbxPassword" runat="server" TextMode="Password" Width="200px"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="width: 178px"></td>
        <td><asp:Label ID="lblRequiredLength" runat="server" Text="Mật khẩu phải dài tối thiểu 7 ký tự" ForeColor="Gray" Font-Bold="True"></asp:Label></td>
    </tr>
    <tr>
        <td style="width: 178px"><asp:Label ID="lblVerifyPassword" runat="server" Font-Bold="True"  Text="Nhập lại :" CssClass="titletext3"></asp:Label><asp:Label ID="lblStarVerifyPassword" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
        <td><asp:TextBox ID="tbxVerifyPassword" runat="server" TextMode="Password" Width="200px"></asp:TextBox></td>
    </tr>
    <tr>
        <th colspan="2" align="center">
            THÔNG TIN CÁ NHÂN</th>
    </tr>
    <tr>
        <td style="width: 178px"><asp:Label ID="lblFullName" runat="server" Font-Bold="True"  Text="Họ tên :" CssClass="titletext3"></asp:Label><asp:Label ID="lblStarFullName" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
        <td><asp:TextBox ID="tbxFullName" runat="server" Width="346px" MaxLength="50"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="width: 178px"><asp:Label ID="lblDob" runat="server" Font-Bold="True"  Text="Ngày sinh :" CssClass="titletext3"></asp:Label><asp:Label ID="lblStarDob" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
        <td><asp:TextBox ID="tbxDob" runat="server" Width="200px"></asp:TextBox>
            <asp:hyperlink id="hlkCalendar" runat="server" >
            <asp:Image ID="imgUserCalendar" runat="server" ImageUrl="~/images/CalendarAJ.png" /></asp:hyperlink></td>
    </tr>
    <tr>
        <td style="width: 178px"></td>
        <td><asp:Label ID="Label10" runat="server" Font-Bold="True" ForeColor="Gray" Text="Ví dụ  25/12/1970"></asp:Label></td>
    </tr>
    <tr>
        <td style="width: 178px"><asp:Label ID="lblSex" runat="server" Font-Bold="True"  Text="Giới tính :" CssClass="titletext3"></asp:Label></td>
        <td><asp:DropDownList ID="ddlSex" runat="server">
                <asp:ListItem Value="true">Nam</asp:ListItem>
                <asp:ListItem Value="false">Nữ</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="width: 178px"><asp:Label ID="lblEmail" runat="server" Font-Bold="True"  Text="Email :" CssClass="titletext3"></asp:Label><asp:Label ID="lblStarEmail" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
        <td><asp:TextBox ID="tbxEmail" runat="server" Width="200px" MaxLength="50"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="width: 178px"></td>
        <td><asp:Label ID="Label2" runat="server" Text="Địa chỉ này được sử dụng để xác thực tài khoản và  phục hồi mật khẩu của qúy vị." Font-Bold="True" CssClass="titletext3"></asp:Label></td>
    </tr>
    <tr>
        <td style="width: 178px">
            <asp:Label ID="Label3" runat="server" Font-Bold="True"  Text="Địa chỉ :" CssClass="titletext3"></asp:Label><asp:Label
                ID="Label6" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
        <td>
            <asp:TextBox ID="tbxAddress1" runat="server" Width="346px" MaxLength="250"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="width: 178px">
        </td>
        <td>
            <asp:TextBox ID="tbxAddress2" runat="server" Width="346px" MaxLength="250" Visible="False"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="width: 178px"><asp:Label ID="lblPhone" runat="server" Font-Bold="True"  Text="Điện thoại :" CssClass="titletext3"></asp:Label><asp:Label ID="lblStarPhone" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
        <td><asp:TextBox ID="tbxPhone" runat="server" Width="200px" MaxLength="30"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="width: 178px">
            <asp:Label ID="Label7" runat="server" Font-Bold="True"  Text="Di động :" CssClass="titletext3"></asp:Label></td>
        <td>
            <asp:TextBox ID="tbxMobile" runat="server" Width="200px" MaxLength="30"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="width: 178px"><asp:Label ID="lblFax" runat="server" Text="Fax :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
        <td><asp:TextBox ID="tbxFax" runat="server" Width="200px" MaxLength="30"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="vertical-align: top;"><asp:Label ID="lblInterestedField" runat="server" Text="Quan tâm :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
        <td style="height: 21px">
            <asp:LinkButton ID="btnShowInterestField" runat="server" OnClick="btnShowInterestField_Click">Lĩnh vực hoạt động / quan tâm</asp:LinkButton>
            <uc2:tm_Treeview ID="trvProductCat" runat="server" Visible="true" myHeight="300" myWidth="350"/>
        </td>
    </tr>
    <tr>
        <td style="width: 178px"><asp:Label ID="lblMemberType" runat="server" Text="Loại thành viên :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
        <td><asp:DropDownList ID="ddlUserType" runat="server">
                <asp:ListItem Value="1">Doanh nghiệp - Đơn vị - Tổ chức</asp:ListItem>
                <asp:ListItem Value="2">C&#225; nh&#226;n</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="width: 178px; height: 24px;"><asp:Label ID="lblAccountType" runat="server" Text="Loại tài khoản :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
        <td style="height: 24px"><asp:DropDownList ID="ddlMemberType" runat="server">
                <asp:ListItem Value="1">Ch&#224;o b&#225;n</asp:ListItem>
                <asp:ListItem Value="2">T&#236;m mua</asp:ListItem>
                <asp:ListItem Value="4">Ch&#224;o b&#225;n v&#224; t&#236;m mua</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="width: 178px">
            <asp:Label ID="lblVisualShop" runat="server" Font-Bold="True" Text="Tên cửa hàng :" CssClass="titletext3"></asp:Label></td>
        <td>
            <asp:TextBox ID="tbxStoreName" runat="server" Width="337px"></asp:TextBox><br />
            <em>Nhập tên cửa hàng, nếu có nhu cầu mở cửa hàng.<br />
                Ví dụ : Cửa hàng [tên đơn vị tự chọn]</em></td>
    </tr>
    <tr>
        <td style="width: 178px; height: 24px">
            <asp:Label ID="lblEmarketing" runat="server" Font-Bold="True" Text="Sử dụng E-marketing :" CssClass="titletext3"></asp:Label></td>
        <td style="height: 24px">
            <asp:DropDownList ID="ddlEmarketing" runat="server" Enabled="False">
                <asp:ListItem Value="no">Kh&#244;ng</asp:ListItem>
                <asp:ListItem Value="yes">C&#243;</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="vertical-align: top;">
        <asp:Label ID="lblCheck" runat="server" Text="Kiểm tra :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
        <td align="left">
            <dnn:captchacontrol id="ctlCaptcha" captchawidth="130" captchaheight="40" runat="server" Text="Nhập vào mã kiểm tra trên:" CaptchaChars="abcdefghijklmnopqrstuvwxyz23456789" CaptchaLength="4" />
        </td>
    </tr>
    <tr>
        <td style="vertical-align: top;">
            <asp:Label ID="lblRule" runat="server" Text="Quy định : " Font-Bold="True" CssClass="titletext3"></asp:Label></td>
        <td>
            <span style="color: #6f6f6f"><strong>Xin vui lòng
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="http://techmart.cesti.gov.vn/quydinh.doc" Target="_blank">nhấn vào đây</asp:HyperLink>
                để đọc các quy định phục vụ của chúng tôi.</strong></span></td>
    </tr>
    <tr>
        <td style="width: 178px"></td>
        <td><asp:CheckBox ID="cbxAgree" runat="server" Text="Đồng ý các thỏa thuận trên" /></td>
    </tr>
    <tr>
        <td style="height: 43px;" colspan="2" align="center">
            <asp:Button ID="btnOk" runat="server" OnClick="btnOk_Click" Text="Đồng ý" Font-Bold="True" Width="80px" CssClass="btn" />
            <asp:Button ID="btnCancel" runat="server" OnClick="btnCancel_Click" Text="Hủy bỏ" Font-Bold="True" Width="80px" CssClass="btn" />
            <asp:Button ID="btnOk0" runat="server" CssClass="btn" Font-Bold="True" 
                OnClick="btnOk0_Click" Text="test" Visible="False" />
        </td>
    </tr>
</table>
        </td>
    </tr>
</table>
</asp:Panel>
</center>

<center>

    <asp:Panel ID="pnlCompany" runat="server" >
    <table border="0" cellpadding="0" cellspacing="0" width="600">
    <tr>
        <td style="width: 600px">
        <table class="table">
            <tr>
                <th align="center" colspan="2" class="table">
                    THÔNG TIN DOANH NGHIỆP</th>
            </tr>
            <tr>
                <td style="width: 183px"><asp:Label ID="lblCompanyName" runat="server" Font-Bold="True" Text="Tên doanh nghiệp :" CssClass="titletext3"></asp:Label><asp:Label ID="lblStarCompanyName" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label><span style="color: #000000"><span style="color: #ff0033"></span></span></td>
                <td><asp:TextBox ID="tbxCompanyName" runat="server" Width="400px" MaxLength="200"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 183px"><asp:Label ID="lblTransacsionName" runat="server"  Text="Tên giao dịch :" Font-Bold="True" CssClass="titletext3"></asp:Label><asp:Label ID="lblStarTransacsionName" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
                <td><asp:TextBox ID="tbxTransactionName" runat="server" Width="400px" MaxLength="200"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 183px" ><asp:Label ID="lblBuildDate" runat="server" Text="Ngày thành lập :" Font-Bold="True" CssClass="titletext3"></asp:Label><asp:Label ID="lblStartBuildDate" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
                <td><asp:TextBox ID="tbxBuildDate" runat="server" Width="200px"></asp:TextBox>
                    <asp:HyperLink ID="hlkBuildDate" runat="server"><asp:Image ID="imgCompanyCalendar" runat="server" ImageUrl="~/images/CalendarAJ.png" /></asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td style="width: 183px; height: 21px;"></td>
                <td style="height: 21px"><asp:Label ID="Label12" runat="server" Font-Bold="True" ForeColor="Gray" Text="Ví dụ : 25/12/1970"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 183px"><asp:Label ID="lblCompanyType" runat="server" Text="Loại doanh nghiệp :" Font-Bold="True" CssClass="titletext3"></asp:Label><asp:Label ID="lblStarCompanyType" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
                <td><asp:DropDownList ID="ddlCompanyType" runat="server"></asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 183px"><asp:Label ID="lblCompanyAddress" runat="server" Text="Địa chỉ :" Font-Bold="True" CssClass="titletext3"></asp:Label><asp:Label ID="lblStarCompanyAddress" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
                <td><asp:TextBox ID="tbxCompanyAddress" runat="server" Width="400px" MaxLength="200"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 183px"><asp:Label ID="lblCompanyRep" runat="server" Text="Người đại diện :" Font-Bold="True" CssClass="titletext3"></asp:Label><asp:Label ID="lblStarCompanyRep" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
                <td>
                    <asp:TextBox ID="tbxCompanyRep" runat="server" Width="220px" MaxLength="50"></asp:TextBox>
                <asp:DropDownList ID="ddlCompanyRepPos" runat="server">
                </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 183px; height: 23px;"><asp:Label ID="lblZipCode" runat="server" Text="Tỉnh, Thành phố :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
                <td style="height: 23px"><asp:DropDownList ID="ddlZipCode" runat="server"></asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 183px"><asp:Label ID="lblCountryCode" runat="server" Text="Quốc gia :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
                <td><asp:DropDownList ID="ddlCountryCode" runat="server"></asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 183px"></td>
                <td><asp:Label ID="Label14" runat="server" Text="Giống như thông tin đăng ký (điện thoại, fax, email)"></asp:Label>
                    <asp:CheckBox ID="cbxCompanyPhone" runat="server" AutoPostBack="True" OnCheckedChanged="cbxCompanyPhone_CheckedChanged"  /></td>
            </tr>
            <tr>
                <td style="width: 183px"><asp:Label ID="lblCompanyPhone" runat="server" Text="Điện thoại :" Font-Bold="True" CssClass="titletext3"></asp:Label><asp:Label
                        ID="lblStarCompanyPhone" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
                <td><asp:TextBox ID="tbxCompanyPhone" runat="server" Width="200px" MaxLength="30"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 183px"><asp:Label ID="lblCompanyFax" runat="server" Text="Fax :" Font-Bold="True" CssClass="titletext3"></asp:Label><asp:Label
                        ID="lblStarCompanyFax" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
                <td><asp:TextBox ID="tbxCompanyFax" runat="server" Width="200px" MaxLength="30"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 183px"><asp:Label ID="lblCompanyMail" runat="server" Text="Email :" Font-Bold="True" CssClass="titletext3"></asp:Label><asp:Label
                        ID="lblStarCompanyEmail" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label></td>
                <td><asp:TextBox ID="tbxCompanyMail" runat="server" Width="200px" MaxLength="30"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="height: 25px; width: 183px;"><asp:Label ID="lblWebsite" runat="server" Text="Website :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
                <td style="height: 25px"><asp:TextBox ID="tbxWebsite" runat="server" Width="200px" MaxLength="200">http://</asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 183px; vertical-align: top;"><asp:Label ID="lblCompanyField" runat="server" Text="Lĩnh vực hoạt động :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
                <td>
                    <asp:LinkButton ID="btnShowActivityCat" runat="server" OnClick="btnShowActivityCat_Click">Chọn lĩnh vực hoạt động trong danh sách</asp:LinkButton>
                    <uc2:tm_Treeview ID="trvActivityCat" runat="server" Visible="false" myHeight="300" myWidth="380" />
                </td>
            </tr>
            <tr>
                <td style="width: 183px"><asp:Label ID="lblTotalEmployee" runat="server" Text="Tổng số nhân viên :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
                <td><asp:TextBox ID="tbxTotalEmployee" runat="server" Width="95px" Text="0"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2"><hr />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Label ID="lblDetailStaf" runat="server" Text="Chi tiết nhân viên :" Font-Bold="True" CssClass="titletext3"></asp:Label>
                    <asp:Label ID="Label13" runat="server" Font-Bold="True" ForeColor="Gray" Text="Ví dụ : 2 giáo sư, phó giáo sư, 5 tiến sĩ, 30 kỹ sư..."></asp:Label></td>
            </tr>
            <tr>
                <td style="height: 50px;" colspan="2"><asp:TextBox ID="tbxDetailStaf" runat="server" Height="50px" TextMode="MultiLine" Width="550px" MaxLength="255"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Label ID="lblManagementBody" runat="server" Text="Cơ quan chủ quản :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr>
                <td style="height: 50px;" colspan="2"><asp:TextBox ID="tbxManagementBody" runat="server" Height="50px" TextMode="MultiLine" Width="550px" MaxLength="100"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Label ID="lblCompanyFunction" runat="server" Font-Bold="True" Text="Tóm tắt chức năng nhiệm vụ :" CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr>
                <td style="height: 70px;" colspan="2">
                    <FTB:FreeTextBox ID="tbxCompanyFunction" runat="server" Height="200px" Width="550px" EnableHtmlMode="False">
                    </FTB:FreeTextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Label ID="lblPastProductDesc" runat="server" Text="Sản phẩm đã thực hiện hoặc chuyển giao :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox ID="tbxPastProductDes" runat="server" Height="50px" MaxLength="100"
                        TextMode="MultiLine" Width="550px"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Label ID="lblOtherInf" runat="server" Text="Thông tin khác :" Font-Bold="True" CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox ID="tbxOtherInf" runat="server" Height="50px" MaxLength="100" TextMode="MultiLine"
                        Width="550px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center" style="height: 45px;" colspan="2">
                    <asp:Button ID="btnCompanyOk" runat="server" Text="Lưu" Font-Bold="True" 
                        OnClick="btnCompanyOk_Click" Width="80px" CssClass="btn" style="height: 26px" />
                    <asp:Button ID="btnCompanyCancel" runat="server" Text="Hủy bỏ" Font-Bold="True" OnClick="btnCompanyCancel_Click" Width="80px" CssClass="btn" /></td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="height: 45px">
                    <uc1:UploadFile ID="uploadLogo" runat="server" Visible="false" />
                </td>
            </tr>
        </table>
        </td>
    </tr>
</table>
    </asp:Panel>

</center>

<center>
    <asp:Panel ID="pnlNotice" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" width="600">
    <tr>
        <td style="width: 600px">
        <table class="table">
            <tr>
                <th>Thông báo</th>
            </tr>
            <tr>
                <td style="height: 21px">
                    <asp:Label ID="Label5" runat="server" Font-Bold="True" Text="Đăng ký thành công, vui lòng kiểm tra mail để kích hoạt tài khoản."></asp:Label></td>
            </tr>
            <tr>
                <td>
                    <asp:LinkButton ID="btnLinkHome" runat="server" OnClick="btnLinkHome_Click">Quay về trang chủ</asp:LinkButton></td>
            </tr>
        </table>
        </td></tr></table>
    </asp:Panel>
    &nbsp;</center>
<center>
            <asp:Label ID="lblBotMessage" runat="server"></asp:Label>
    <asp:Label ID="lblDebugMsg" runat="server"></asp:Label>
</center>
